"""
Task 1
Write a Python program to get a string made of the first 2 and the last 2 chars from a given string. If the
string length is less than 2, return instead of the empty string.
"""

input_string = input("Enter you string: ")
if len(input_string) < 2:
    print("")
else:
    print("{0}{1}".format(input_string[:2], input_string[-2:]))
